package com.jiyun.passenger.service.impl;

import com.jiyun.passenger.mapper.UserPassengerMapper;
import com.jiyun.passenger.service.UserPassengerService;
import com.jiyun.pojo.UserPassenger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserPassengerServiceImpl implements UserPassengerService {
    @Autowired
    UserPassengerMapper userPassengerMapper;
    @Override
    public List<UserPassenger> findAll() {
        return userPassengerMapper.findAll();
    }
}
